<div class="row">
    <div class="span12 marginbottom20">
        <form method="post" action="<?php echo $this->url_edit . @$editID; ?>"  enctype="multipart/form-data">
            <div class="table_head"><h6><i class="icon-list-alt"></i>
			<?php
			if(@$editID > 0)
			{
				echo 'Thông tin '.@$tresource->RES_NAME;
				
			}
			else {
				echo 'Thêm mới '.@$tresource->RES_NAME;
			}
			?></h6></div>
            <div class="subcont">
                <ul class="details span10">
					 <li><?php echo $this->atheme->group_input2('edit[GETL_NAME]', 'Tên gợi nhớ', '', 'required span12', @$edit->GETL_NAME, 'text', ''); ?>
					 </li>
					 <li><?php echo $this->atheme->group_input2('edit[GETL_LINK]', 'Link', '', 'required span12', @$edit->GETL_LINK, 'text', ''); ?>
					 <i>Link: http://abc.com?page={page}</i>
					 </li>
					 <li><?php echo $this->atheme->group_input2('edit[GETL_PAGE_FROM]', 'Page from', '', 'required span12', @$edit->GETL_PAGE_FROM, 'text', ''); ?></li>
					 <li><?php echo $this->atheme->group_input2('edit[GETL_PAGE_TO]', 'Page to', '', 'required span12', @$edit->GETL_PAGE_TO, 'text', ''); ?></li>
					
					<li>
                       <?php echo $this->atheme->group_select2('edit[GETL_STATUS]', 'Trạng thái', '', 'required ',array('1'=>'Hiện','0'=>'Ẩn'), @$edit->GETL_STATUS, ''); ?>
                    </li>
                </ul>
                
                <ul class="span8">
                   <input type="submit" name="send" class="btn btn-primary" value="<?php
			if(@$editID > 0)
			{
				echo 'Lưu';
				
			}
			else {
				echo 'Thêm mới';
			}
			?>"/>
			<a href="<?php echo $this->url_index;?>" class="btn">Trở ra</a>
                </ul>
                <br clear="both">

            </div>

        </form>
    </div>
</div>